package com.tj.collection.controller.admin.response;

import com.fqgj.common.api.ResponseData;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/12
 * Time: 下午3:03
 */
public class LoginResponse implements ResponseData {

    private String accessToken;
    private String userName;

    public LoginResponse(String userName, String accessToken) {
        this.userName = userName;
        this.accessToken = accessToken;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public LoginResponse setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }

    public String getUserName() {
        return userName;
    }

    public LoginResponse setUserName(String userName) {
        this.userName = userName;
        return this;
    }
}
